package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"	
	"salarypayment-case/Model"
)


type ChangeNameTransaction struct {
	itsName string
	abstracttransaction.ChangeEmployeeTransaction
}

func (ct *ChangeNameTransaction) Change(e *Model.Employee) {
	e.SetName(ct.itsName)
}